<!doctype html public "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
  <head>
  <meta http-equiv="content-type" content="text/html; charset=windows-1250">
  <meta name="generator" content="PSPad editor, www.pspad.com">
  <title>Itty Bitty RPG</title>
<link rel="STYLESHEET" type="text/css" href="assets/reset-min.css">  
<link rel="STYLESHEET" type="text/css" href="assets/fonts-min.css"> 
<link rel="STYLESHEET" type="text/css" href="assets/container.css">
<script type="text/javascript" src="yahoo-dom-event.js"></script>
<script type="text/javascript" src="animation-min.js"></script> 
<script type="text/javascript" src="dragdrop-min.js"></script> 
<script type="text/javascript" src="container-min.js"></script> 
<script>
YAHOO.namespace('alw.ibrpg'); 

YAHOO.alw.ibrpg = {
	globals: {
		version: '0.01',
		main_panel:null
	},
	fetchData: function (){
	
	},
	putData: function(){
  
	},
	init: function(){
		/**
		if (window.globalStorage){
			var storage = globalStorage['yahoo.com'];
			if(storage.ibrpg){
        		this.fetchData()
      		}
     	}
     	**/
     	YAHOO.alw.ibrpg.globals.main_panel = new YAHOO.widget.Panel("panel_seven",
     		{ 
	    		close:true,  
	    		visible:false,  
	    		draggable:true,
	    		modal: true,
	    		constraintoviewport:true,
	    		effect:{effect:YAHOO.widget.ContainerEffect.FADE, duration: .5},
	    		xy: [100,100]
			} 
		); 
		var thePanel = YAHOO.alw.ibrpg.globals.main_panel;
		thePanel.setHeader('Itty Bitty RPG ...');
		thePanel.setBody("loading interface...");
		thePanel.setFooter("[<a href='http://code.google.com/p/ittybittyrpg/'>Itty Bitty RPG</a>]");
		thePanel.render(document.body);
  	},
	characterInfo:{
    	name: "",
    	attr: {str: 0, int: 0,wis: 0, dex: 0},
    	experience: 0,
    	level: 0
	}
  
}
 
 

 
  YAHOO.util.Event.addListener(window,'load',YAHOO.alw.ibrpg.init)
</script>
  </head>
  <body>
    <button onclick="YAHOO.alw.ibrpg.globals.main_panel.show();return false">IBRPG</button>
    
  </body>
</html>
